<?php



?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <style type="text/css" >

        .box{
            width:300px;
            height:200px;
            margin: 0 auto;
            background-color: aquamarine;
        }
        .box img{
            width:200px;
            height:100px;
        }
    </style>
</head>
<body>
<?php

for($i=1;$i<11;$i++){   ?>

    <div class="box">
    <h3>这是标题<?php   echo "$i"; ?></h3>
   <?php
     if($i!=5){   ?>

        <img src="./201.jpg" alt="">
          <?php }?>


    <p>这是一个新闻描述<?php  echo " $i"; ?></p>
    </div>
<?php  }
?>
</body>
</html>